@charset "utf-8";
@import 'px2rem.scss';
@import 'normalize.scss';
$designWidth: 750;
a {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
html,
body {
    height: 100%;
    overflow: hidden;
}
.responsive-image {
    display: block;
    width: 100%;
}
#content {
    position: relative;
    display: flex;
    height: 100%;
}
.mb-scene {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    padding-bottom: px2rem(296);
    background-color: #1b1b1f;
    box-sizing: border-box;
    z-index: 1;
    .mb-scene-block {
        position: relative;
        height: 100%;
    }
    .mb-scene-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
    .scene-item {
        position: relative;
        height: 100%;
        background-size: cover;
        background-position: left bottom;
    }
    .table-box {
        position: relative;
        //width: 100%;
        height: 100%;
        z-index: 100;
    }
    .table-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: left bottom;
    }
    .table-imagebox {
        position: absolute;
        left: 0;
        bottom: 0;
        width: px2rem(616);
        height: px2rem(492);
        z-index: 1;
    }
}
.flexend-block {
    position: relative;
    width: 100%;
    height: px2rem(296);
    align-self: flex-end;
    z-index: 10;
}
.nav-mh {
    display: flex;
    height: px2rem(116);
    align-items: center;
    justify-content: space-around;
    background-color: #121216;
    .buy-btn,
    .diy-btn {
        display: block;
        height: px2rem(56);
        padding: 0 px2rem(36);
        line-height: px2rem(56);
        font-size: px2rem(28);
        color: #fff;
        text-decoration: none;
        border-radius: px2rem(28);
    }
    .buy-btn {
        background-color: #ff0000;
    }
    .diy-btn {
        background-color: #ff9900;
    }
}
.table-swiper {
    height: px2rem(180);
    padding: px2rem(20) px2rem(55);
    background-color: #1b1b1f;
    box-sizing: border-box;
    .swiper-slide {}
    .mh-table {
        padding: 0 px2rem(10);
        border-radius: px2rem(10);
        overflow: hidden;
        >a {
            display: block;
        }
    }
    .mh-table-active {
        >a {
            border: 2px solid #ff9900;
        }
    }
}
.btns-scenes {
    position: absolute;
    right: px2rem(18);
    top: px2rem(20);
    width: px2rem(80);
    z-index: 110;
    .btn-bedroom,
    .btn-livingroom {
        display: block;
        width: px2rem(80);
        height: px2rem(80);
        line-height: px2rem(80);
        background-color: rgba(27,27,31,.75);
        border: 1px solid #fff;
        color: #fff;
        font-size: px2rem(24);
        border-radius: 50%;
        text-align: center;
        text-decoration: none;
        box-sizing: border-box;
    }
    .btn-livingroom {
        margin-top: px2rem(20);
    }
    .active {
        background-color: rgba(255,153,0,.75);
    }
}
.news-container {
    padding: 0 (15/50)+rem;
    background-color: #fff;
    .news-title {
        line-height: (48/30);
        font-size: (16/50)+rem;
        color: #262626;
        margin: 0;
    }
    .news-list-item {
        overflow: hidden;
    }
    .news-list-imagebox {
        padding-right: (15/50)+rem;
        .news-list-image {
            position: relative;
            width: (176/50/2)+rem;
            &:after {
                display: block;
                content: '';
                padding-top: percentage(136/176);
            }
            .news-picture {
                display: block;
                position: absolute;
                left: 0;
                top: 0;
                right: 0;
                bottom: 0;
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
            }
        }
    }
    .news-list-flex {
        display: flex;
        flex-wrap: wrap;
        height: (136/50/2)+rem;
    }
    .news-list-pbox {
        width: 100%;
        
        
    }
    .news-list-p{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        overflow: hidden;
        -webkit-line-break: auto;
        -webkit-box-orient: vertical;
        font-size: (16/50)+rem;
        line-height: (40/30);
        color: #262626;
        margin: 0;
    }
    .news-update-time {
        display: block;
        width: 100%;
        align-self: flex-end;
        font-size: 12px;
        color: #999999;
    }
}

.news-list-item{
    position: relative;
    padding: (13/50)+rem 0;
    &+div{
        &:before{
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 1px;
            background-color: #dddddd;
            transform: scaleY(0.5);
        }
    }
    >a{
        display: flex;
        text-decoration: none;
    }
}

.splendid-comment{
    .media{
        overflow: hidden;
    }
    .media-left,.media-body{
        display: table-cell;
        vertical-align: top;
    }
    .media-left{
        padding-left: (7/50)+rem;
    }
    .user-pic{
        display: block;
        width: (33/50)+rem;
    }
    .user-name-good{
        display: flex;
        justify-content: space-between;
        .user-name,.user-good{
            color: #14ac2b;
            font-size: (13/50)+rem;
            text-decoration: none;
        }
    }
}




.sp-commentnum{
    line-height: 1.2;
    color: #14ac2b;
    font-size: 12px;
}

.top .sp-commentnumbox{
    font-size: 0;
    padding: 0;
    margin-right: 0;
}

dt span.all{
    padding-left: (8/50)+rem;
    height: auto;
    line-height: 1;
    vertical-align: middle;
    border: none;
}

.splendid-icon,.jingcai-icon{
    display: inline-block;
    width: (22/50)+rem;
    vertical-align: bottom;
    >img{
        display: block;
        width: 100%;
    }
}

.send-comment{
    display: flex;
    align-items: stretch;
    flex-wrap:nowrap;
    justify-content: space-between;
    padding: (8/50)+rem (15/50)+rem;
    background-color: #fff;
    position: relative;
    &:before{
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 1px;
        background-color: #cccccc;
        transform: scaleY(.5);
    }
    .comment-inputbox{
        display: flex;
        flex: 1;
        padding-right: (20/50)+rem;
        box-sizing: border-box;
    }
    .send-comment-input{
        display: block;
        width: 100%;
        height: (33/50)+rem;
        line-height: (31/50)+rem;
        padding: 0 5px;
        font-size: 14px;
        border: 1px solid #dddddd;
        border-radius: 3px;
        outline: 0;
        color: #333;
        box-sizing: border-box;
    }
}
.comment-utils{
    display: flex;
    .msg-number+a{
        margin-left: (20/50)+rem;
    }
    .msg-number,.comment-share{
        display: block;
        height: (33/50)+rem;
        line-height: (33/50)+rem;
        color: #14ac2b;
        font-size: 0;
        text-decoration: none;
        overflow: hidden;
        >i{
            display: inline-block;
            margin-left: 4px;
            font-size: 12px;
            line-height: 1;
            font-style: normal;
            vertical-align: top;
        }
        >img{
            display: inline-block;
            width: (21/50)+rem;
            vertical-align: middle;
        }
    }
}

.send-comment-fixed{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}
